package com.jetair.jap.safe;

import com.jetair.jap.safe.interceptor.KeyWordsEnum;

import java.lang.annotation.*;

/**
 * 当有key-value关联字段时
 * key字段有关键字则对value字段加解密
 */
@Documented
@Inherited
@Target({ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface FieldPartialEncryption {

    KeyWordsEnum keyWords();

    String key();


    String value();
}
